using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public abstract class BaseDialog : MonoBehaviour
{
    public abstract void OnInit();

    public abstract void OnShow();

    public abstract void OnUpdate(float deltaTime);

    public abstract void OnRelease();

    /// <summary>
    /// 当界面被覆盖时调用
    /// </summary>
    public virtual void OnCoverd()
    {

    }

    /// <summary>
    /// 当以上界面被移除
    /// </summary>
    public virtual void OnUnCoverd()
    {

    }

    //public abstract T GetView<T>() where T : BaseView;
}
